package com.example.ysdt.entiey;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@ApiModel("用户")
public class User {


    @ApiModelProperty("id")
    private Integer id;


    @ApiModelProperty("用户名")
    private String username;


    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("是否管理员账号")
    private Integer is_system;

    public Integer getIs_system() {
        return is_system;
    }

    public void setIs_system(Integer is_system) {
        this.is_system = is_system;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
